﻿CREATE TABLE [dbo].[Permisos] (
    [IdPermiso]     TINYINT      NOT NULL,
    [IdTipoPermiso] TINYINT      NOT NULL,
    [Nombre]        VARCHAR (50) NOT NULL,
    CONSTRAINT [PK_Permisos] PRIMARY KEY CLUSTERED ([IdPermiso] ASC),
    CONSTRAINT [FK_Permisos_TiposPermisos] FOREIGN KEY ([IdTipoPermiso]) REFERENCES [dbo].[TiposPermisos] ([IdTipoPermiso])
);

